<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>示例16</title>
    <script src="jquery.js"></script>
    <script>
        $(function (){
            $("li:eq(0)").css("color","blue");
            $("li:eq(1)").css({
                "color":"red",
                "font-size":"20px",
                "background-color":"skyblue"
            })
            console.log($("li:eq(0)").css("color"))
            console.log($("li:eq(1)").css("color"))
        })
    </script>
</head>
<body>
    <h2>热门动画排行</h2>
    <ul class="animationList">
        <li>名侦探柯南</li>
        <li>阿拉蕾</li>
        <li>海贼王</li>
    </ul>
</body>
</html>